package com.sakura.probe.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author Sakura
 * @since 2020-08-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pb_topic_category")
@ApiModel(value="TopicCategory对象", description="话题类别实体类")
public class TopicCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "topic_category_id", type = IdType.AUTO)
    private Long topicCategoryId;

    private String topicCategoryName;

    private String topicCategoryDesc;

    private String topicCategoryImg;

    private Integer priority;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date lastEditTime;

    private Integer parentId;


}
